package lab02.test07;

public class Student extends Person {
    String name;
    int age;
    String idCard;
    String studentNo;      //定义学号
    String school;         //定义学校

    @Override
    public String toString() {
        return super.toString() + "\n" + studentNo + "\n" + school;
    }
}
